#pragma once
#include <iostream>

using namespace std;

class Triangle
{
public:

	void triangle(ostream& outs, unsigned int m, unsigned int n)
	{
		if (m > n)
			return;

		if (m <= n)
		{
			for (int i = 0; i < m; i++)
			{
				outs << '*';
			}
			outs << endl;
			
		

			triangle(outs, m + 1, n);
			for (int i = 0; i < m; i++)
			{
				outs << '*';
			}
			outs << endl;
			
	
		}
	}

	Triangle(void)
	{
	}

	~Triangle(void)
	{
	}
};

